<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:v="urn:schemas-microsoft-com:vml" xml:lang="en" lang="en">
	
<head>
<link rel="stylesheet" href="highlight/styles/default.css"/>
<script src="highlight/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

</head>
<body>
	<pre>

<code class="java" style="font-size:large;">
package com.groovy.learning

//@groovy.transform.TypeChecked
 class Autre
{
	public static void main (String [] args){
		
		
		
		//on utilise les
		Personne p = new Personne(nom:"kodjo", prenom:"koffi")
//		p.nom = 'kodjo'
//		p.prenom = 'koffi'
//		p.codePin =12345
		println "La personne s'appele $p.prenom $p.nom"
		
		Personne p1 = new Personne(nom:'kodjo',prenom:'koffi' )
		println "La personne s'appele $p.prenom $p.nom"
		//println  p.codePin
	}
}

</code>

</pre>

</body>
</html>
